package ru.cod.rs.x1000;

import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * @author dns
 */
public class Z1001 {

	public static void main(String[] args) {
    
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        
        List<String> mas = new ArrayList<String>();
        
        while (in.hasNext()) {
            mas.add(String.format("%.4f", Math.sqrt(in.nextDouble())));
        }
        
        for (int i = mas.size() - 1; i >= 0; i--) {
            out.println(mas.get(i));
            out.flush();
        }
        
    }
}
